package org.example.service.impl;

import org.example.entity.SysCrop;
import org.example.mapper.SysCropMapper;
import org.example.service.ISysCropService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zhaowenting
 * @since 2024-03-27
 */
@Service
public class SysCropServiceImpl extends ServiceImpl<SysCropMapper, SysCrop> implements ISysCropService {

    @Override
    public List<SysCrop> listAll() {
        return baseMapper.listAll();
    }

    @Override
    public List<SysCrop> getByIdCrop(Integer id) {
        return baseMapper.getByIdCrop(id);
    }

}
